<?php 
include '../conn.php';
$sql = "select * from mapdata where tid = 1";
$content = mysql_query($sql);
$info = array();
while ($row = mysql_fetch_assoc($content)) {
	$info[] = $row;
}

echo json_encode($info);

?>
